package com.xique.api.bean.request;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author shd
 * @create 2022/2/25 13:54
 */
@Data
public class ThirdAccountAddRequest {

    @NotBlank(message = "appId不能为空")
    private String appId;

    @NotBlank(message = "appSecret不能为空")
    private String appSecret;

    @NotNull(message = "Id不能为空")
    private Long foreignId;

    @NotBlank(message = "类型不能为空")
    private String foreignType;

    @NotBlank(message = "名称不能为空")
    private String foreignName;
}
